package com.tbit.uqbike.client.dao.core;

import com.tbit.uqbike.client.pojo.newEntity.ParkPointBound;

import java.util.List;

/**
 * @Author: chen
 * @Description: 站点绑定编号
 * @Date: 创建于 16:06 2021/11/30
 */
public interface ParkPointBoundDao {

    /**
     * 通过编号获取
     *
     * @param machineNO
     * @return
     */
    ParkPointBound getByNO(String machineNO);

    /**
     * 通过站定id获取
     *
     * @param parkPointId
     * @return
     */
    List<ParkPointBound> getByParkPointId(Integer parkPointId);

    /**
     * 修改更新时间
     *
     * @param parkPointBound
     */
    void edit(ParkPointBound parkPointBound);

    void add(List<ParkPointBound> list);

}
